package com.briup.oagg.model.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.briup.framework.utils.common.EntityUtils;
import com.briup.framework.utils.execption.BriupAssert;
import com.briup.framework.utils.execption.BriupFrameworkException;
import com.briup.oagg.model.bean.basic.LearnAlgorithm;
import com.briup.oagg.model.bean.basic.ModelTrainConfig;
import com.briup.oagg.model.mapper.basic.LearnAlgorithmMapper;
import com.briup.oagg.model.mapper.basic.ModelTrainConfigMapper;
import com.briup.oagg.model.service.ILearnAlgorithmService;
import com.briup.oagg.model.web.vm.LayerConfig;
import com.briup.oagg.model.web.vm.LearnAlgorithmAddVM;
import com.briup.oagg.model.web.vm.LearnAlgorithmListVM;
import com.briup.oagg.model.web.vm.LearnAlgorithmVM;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import org.apache.commons.lang.StringUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.util.CollectionUtils;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

import static com.briup.framework.utils.web.ResponseCode.NAME_EXISTED;
import static com.briup.oagg.model.constants.ModelConstants.*;

/**
 * 学习算子信息业务逻辑接口实现类
 *
 * @author briup
 */
@Service
public class LearnAlgorithmServiceImpl extends ServiceImpl<LearnAlgorithmMapper, LearnAlgorithm> implements ILearnAlgorithmService {
    @Override
    public LearnAlgorithmVM findById(String algorithmId) {
        return null;
    }

    @Override
    public Page<LearnAlgorithmVM> findByPage(int pageNum, int pageSize, String name) {
        return null;
    }

    @Override
    public void addLearnAlgorithm(LearnAlgorithmAddVM vm) {

    }

    @Override
    public void deleteById(String algorithmId) {

    }

    @Override
    public List<LearnAlgorithmListVM> findByCondition(String platform, Integer type) {
        return null;
    }
}
